package com.defect.service.basicsService.basicsServiceImpl;

import com.defect.mapper.StateMapper;
import com.defect.service.basicsService.BstateService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class BStateServiceImpl implements BstateService {
    @Resource
    private StateMapper stateMapper;
    /**
     * 查询所有状态的名字
     * @return
     * @throws Exception
     */
    @Override
    public List<Map<String, Object>> selectStateName() throws Exception {
        return stateMapper.selectStateName();
    }
}
